﻿//-----------------------------------------------------------------------
// <copyright>
// This file is subject to the terms and conditions of the Microsoft Public License (MS-PL).
// See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL for more details.
// </copyright>
//----------------------------------------------------------------------- 
using System.Collections.Generic;
using Fulcrum.ControlGenerator;

namespace Fulcrum.UnitTests.ControlGenerator
{
    class MockControlGeneratorConfiguration : IControlGeneratorConfiguration
    {
        public MockControlGeneratorConfiguration()
        {
            // nothing
        }

        public string Company
        {
            get;
            set;
        }

        public string Copyright
        {
            get;
            set;
        }

        public string Namespace
        {
            get;
            set;
        }

        public string OptionalTemplatePartFactory
        {
            get;
            set;
        }

        public string RoutedPropertyEventArgsFactory
        {
            get;
            set;
        }

        public string TemplatePartFactory
        {
            get;
            set;
        }

        public ICollection<IControlConfiguration> ControlConfigurations
        {
            get;
            set;
        }

        public IControlConfiguration GetControlConfiguration(string name)
        {
            return this.SelectedControlConfiguration;
        }

        public IControlConfiguration SelectedControlConfiguration
        {
            get;
            set;
        }
    }
}
